package cn.uce.cc.srv.service;

import cn.uce.base.entity.CcRobotRecord;
import cn.uce.base.vo.CcRobotRecordVo;
import cn.uce.cc.srv.dao.impl.ICcRobotRecordDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class CcRobotRecordService {
//
    @Autowired
    private ICcRobotRecordDao ccRobotRecordDao;

    public Integer createCcRobotRecord(CcRobotRecord cRobotRecord) {
        return ccRobotRecordDao.insert(cRobotRecord);
    }

    public List<CcRobotRecordVo> findCcRoBotRecord(CcRobotRecordVo ccRobotRecordVo) {
        return ccRobotRecordDao.findCcRoBotRecord(ccRobotRecordVo);
    }
}
